package net.jiupinshi.dao;

import net.jiupinshi.dto.CategoryDTO;
import net.jiupinshi.entity.GoodsCategory;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * @Despription: 需要修改
 * @Author: penghui.guo
 * @Date: 2018/12/16 15:22
 */
public interface GoodsCategoryDao {

    @Select("select id, parent_id as parentId, name from goods_category where status = 1")
    List<GoodsCategory> getCategorys();
}
